$OpenBSD: patch-Source_ThirdParty_ANGLE_src_compiler_translator_glslang_y,v 1.1.1.1 2014/09/30 08:25:27 ajacoutot Exp $

XXX rm when bison(1) is updated
Source/ThirdParty/ANGLE/src/compiler/glslang.y:52.1-5: invalid directive: `%code'

--- Source/ThirdParty/ANGLE/src/compiler/translator/glslang.y.orig	Sun Sep 28 10:19:43 2014
+++ Source/ThirdParty/ANGLE/src/compiler/translator/glslang.y	Sun Sep 28 10:20:25 2014
@@ -48,12 +48,10 @@ WHICH GENERATES THE GLSL ES PARSER (glslang_tab.cpp AN
 %parse-param {TParseContext* context}
 %locations
 
-%code requires {
+%union {
 #define YYLTYPE TSourceLoc
 #define YYLTYPE_IS_DECLARED 1
-}
 
-%union {
     struct {
         union {
             TString *string;
